From: Florian Müllner Date: Tue, 22 Nov 2011 18:28:23 +0000 (+0100) Subject: lookingGlass: Fix global key press handler X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7285 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c3528f5b6bf7af29bc6a11c9f8742966e8c57656;p=gnome-shell.git lookingGlass: Fix global key press handler No idea why connecting a key-press-event to a non-reactive actor used to work, but some Clutter update broke it. Obvious fix is to make the actor reactive. https://bugzilla.gnome.org/show_bug.cgi?id=664582 --- diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index 495b987ee..2d9c0541b 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -889,7 +889,8 @@ LookingGlass.prototype = { this.actor = new St.BoxLayout({ name: 'LookingGlassDialog', style_class: 'lg-dialog', vertical: true, - visible: false }); + visible: false, + reactive: true }); this.actor.connect('key-press-event', Lang.bind(this, this._globalKeyPressEvent)); this._interfaceSettings = new Gio.Settings({ schema: 'org.gnome.desktop.interface' });